package com.unitedvision.service;

import java.util.List;

import javax.persistence.EntityNotFoundException;

import com.unitedvision.persistence.domain.ModuleEntity;

public interface ModuleService {
	void save(ModuleEntity module);
	void delete(ModuleEntity module);
	ModuleEntity get(int id) throws EntityNotFoundException;
	ModuleEntity getByName(String name) throws EntityNotFoundException;
	List<ModuleEntity> getAll() throws EntityNotFoundException;
	long count();
}
